package com.system.domain;

import java.io.Serializable;

public class Phones implements Serializable {//序列化
    private Integer id;
    private String name;
    private String jieshao;
    private Float price;
    private String url;

    public Phones() {
    }

    public Phones(Integer id, String name, String jieshao, Float price, String url) {
        this.id = id;
        this.name = name;
        this.jieshao = jieshao;
        this.price = price;
        this.url = url;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getJieshao() {
        return jieshao;
    }

    public void setJieshao(String jieshao) {
        this.jieshao = jieshao;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    @Override
    public String toString() {
        return "Phones{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", jieshao='" + jieshao + '\'' +
                ", price=" + price +
                ", url='" + url + '\'' +
                '}';
    }
}
